package com.nbcio.modules.estar.bd.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 部门
 * @Author: nbacheng
 * @Date:   2024-04-01
 * @Version: V1.0
 */
@Data
@TableName("erp_dept")
@ApiModel(value="erp_dept对象", description="部门")
public class ErpDept implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**上级部门*/
	@Excel(name = "上级部门", width = 15)
    @ApiModelProperty(value = "上级部门")
    private java.lang.String pid;
	/**上级部门名称*/
	@Excel(name = "上级部门名称", width = 15)
    @ApiModelProperty(value = "上级部门名称")
    private java.lang.String parentName;
	/**部门编码*/
	@Excel(name = "部门编码", width = 15)
    @ApiModelProperty(value = "部门编码")
    private java.lang.String code;
	/**部门名称*/
	@Excel(name = "部门名称", width = 15)
    @ApiModelProperty(value = "部门名称")
    private java.lang.String name;
	/**部门人数*/
	@Excel(name = "部门人数", width = 15)
    @ApiModelProperty(value = "部门人数")
    private java.lang.Integer nnum;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.String tenantId;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    private java.lang.String deleteFlag;
	/**启用*/
	@Excel(name = "启用", width = 15)
    @ApiModelProperty(value = "启用")
    private java.lang.String enabled;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**自定义项1*/
	@Excel(name = "自定义项1", width = 15)
    @ApiModelProperty(value = "自定义项1")
    private java.lang.String def1;
	/**自定义项2*/
	@Excel(name = "自定义项2", width = 15)
    @ApiModelProperty(value = "自定义项2")
    private java.lang.String def2;
	/**自定义项3*/
	@Excel(name = "自定义项3", width = 15)
    @ApiModelProperty(value = "自定义项3")
    private java.lang.String def3;
	/**自定义项4*/
	@Excel(name = "自定义项4", width = 15)
    @ApiModelProperty(value = "自定义项4")
    private java.lang.String def4;
	/**自定义项5*/
	@Excel(name = "自定义项5", width = 15)
    @ApiModelProperty(value = "自定义项5")
    private java.lang.String def5;
	/**自定义项6*/
	@Excel(name = "自定义项6", width = 15)
    @ApiModelProperty(value = "自定义项6")
    private java.lang.String def6;
	/**自定义项7*/
	@Excel(name = "自定义项7", width = 15)
    @ApiModelProperty(value = "自定义项7")
    private java.lang.String def7;
	/**自定义项8*/
	@Excel(name = "自定义项8", width = 15)
    @ApiModelProperty(value = "自定义项8")
    private java.lang.String def8;
	/**自定义项9*/
	@Excel(name = "自定义项9", width = 15)
    @ApiModelProperty(value = "自定义项9")
    private java.lang.String def9;
	/**自定义项10*/
	@Excel(name = "自定义项10", width = 15)
    @ApiModelProperty(value = "自定义项10")
    private java.lang.String def10;
	/**自定义项11*/
	@Excel(name = "自定义项11", width = 15)
    @ApiModelProperty(value = "自定义项11")
    private java.lang.String def11;
	/**自定义项12*/
	@Excel(name = "自定义项12", width = 15)
    @ApiModelProperty(value = "自定义项12")
    private java.lang.String def12;
	/**自定义项13*/
	@Excel(name = "自定义项13", width = 15)
    @ApiModelProperty(value = "自定义项13")
    private java.lang.String def13;
	/**自定义项14*/
	@Excel(name = "自定义项14", width = 15)
    @ApiModelProperty(value = "自定义项14")
    private java.lang.String def14;
	/**自定义项15*/
	@Excel(name = "自定义项15", width = 15)
    @ApiModelProperty(value = "自定义项15")
    private java.lang.String def15;
	/**自定义项16*/
	@Excel(name = "自定义项16", width = 15)
    @ApiModelProperty(value = "自定义项16")
    private java.lang.String def16;
	/**自定义项17*/
	@Excel(name = "自定义项17", width = 15)
    @ApiModelProperty(value = "自定义项17")
    private java.lang.String def17;
	/**自定义项18*/
	@Excel(name = "自定义项18", width = 15)
    @ApiModelProperty(value = "自定义项18")
    private java.lang.String def18;
	/**自定义项19*/
	@Excel(name = "自定义项19", width = 15)
    @ApiModelProperty(value = "自定义项19")
    private java.lang.String def19;
	/**自定义项20*/
	@Excel(name = "自定义项20", width = 15)
    @ApiModelProperty(value = "自定义项20")
    private java.lang.String def20;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private java.lang.String hasChild;
}
